package com.crm.dao.mapper.sys.permissionManagement;

import com.crm.model.entity.sys.permissionManagement.SysPermissionGroup;
import com.crm.model.entity.sys.permissionManagement.SysPermissionGroupExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysPermissionGroupMapper {
    long countByExample(SysPermissionGroupExample example);

    int deleteByExample(SysPermissionGroupExample example);

    int deleteByPrimaryKey(String permissionGroupId);

    int insert(SysPermissionGroup record);

    int insertSelective(SysPermissionGroup record);

    List<SysPermissionGroup> selectByExample(SysPermissionGroupExample example);

    SysPermissionGroup selectByPrimaryKey(String permissionGroupId);

    int updateByExampleSelective(@Param("record") SysPermissionGroup record, @Param("example") SysPermissionGroupExample example);

    int updateByExample(@Param("record") SysPermissionGroup record, @Param("example") SysPermissionGroupExample example);

    int updateByPrimaryKeySelective(SysPermissionGroup record);

    int updateByPrimaryKey(SysPermissionGroup record);
}